package com.xzq.erp.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xzq.erp.enums.ChannelType;
import com.xzq.erp.enums.CurrentStage;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 销售机会VO
 */
@Data
@Builder
public class SalesOpportunityVO {

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 客户ID
     */
    private Long customerId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 渠道ID
     */
    private Long channelId;

    /**
     * 渠道名称
     */
    private String channelName;

    /**
     * 渠道类型:1-线上,2-线下,3-合作伙伴,4-代理商
     */
    private ChannelType channelType;

    /**
     * 预期金额
     */
    private BigDecimal expectedAmount;

    /**
     * 当前阶段:1-初步接触,2-需求确认,3-方案制定,4-商务谈判,5-合同签订
     */
    private CurrentStage currentStage;

    /**
     * 负责员工ID
     */
    private Long employeeId;

    /**
     * 创建时间
     */
    @JsonIgnore
    private LocalDateTime createTime;

}
